package com.dong.cruddemo.Cruddemo.repository;

import com.dong.cruddemo.Cruddemo.entity.Account;
import org.springframework.data.domain.Page;
import org.springframework.data.domain.Pageable;
import org.springframework.data.jpa.repository.JpaRepository;

/**
 * @author Fuyuko
 * @date 2019/12/12 16:19
 */
public interface AccountRepository extends JpaRepository<Account,Integer> {
    Page<Account> findByCustomer_CustomerId(Integer customerId, Pageable pageableId);
}
